package kd.bos.openapi.sdk.auth.digestauth;

/**
 * @author johnz
 * @Deacription 摘要认证参数类
 * @date 2023年10月23日
 */
public class DigestParamDto implements java.io.Serializable{

    private static final long serialVersionUID = 6490940709138463550L;
    // 摘要认证密钥
    private String publicKey;
    // 基本认证secretKey
    private String secretKey;
    // 第三方应用编码
    private String appId;
    // 摘要认证用户
    private String user;
    // 摘要认证用户类型
    private String userType;
    // 数据中心ID
    private String accountId;
    // 摘要认证GET方法参数传，多个参数用逗号分开
    private String parameters;
    // 认证类型
    private String authType;
    // 是否打印请求参数
    private boolean isPrint;

    public DigestParamDto() {
    }

    public DigestParamDto(String authType, String publicKey, String secretKey, String parameters) {
        this.publicKey = publicKey;
        this.secretKey = secretKey;
        this.authType = authType;
        this.parameters = parameters;
    }

    public DigestParamDto(String publicKey, String secretKey, String appId, String accountId, String parameters, String user, String userType) {
        this.publicKey = publicKey;
        this.secretKey = secretKey;
        this.appId = appId;
        this.accountId = accountId;
        this.parameters = parameters;
        this.user = user;
        this.userType = userType;
    }

    public String getPublicKey() {
        return publicKey;
    }

    public void setPublicKey(String publicKey) {
        this.publicKey = publicKey;
    }

    public String getSecretKey() {
        return secretKey;
    }

    public void setSecretKey(String secretKey) {
        this.secretKey = secretKey;
    }


    public String getAccountId() {
        return accountId;
    }

    public void setAccountId(String accountId) {
        this.accountId = accountId;
    }

    public String getParameters() {
        return parameters;
    }

    public void setParameters(String parameters) {
        this.parameters = parameters;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getUser() {
        return user;
    }

    public void setUser(String user) {
        this.user = user;
    }

    public String getUserType() {
        return userType;
    }

    public void setUserType(String userType) {
        this.userType = userType;
    }

    public String getAuthType() {
        return authType;
    }

    public void setAuthType(String authType) {
        this.authType = authType;
    }

    public boolean isPrint() {
        return isPrint;
    }

    public void setPrint(boolean print) {
        isPrint = print;
    }
}
